<template>
	<view class="detailBox">
		<view class="mart-30">
			<view class="topContent readBox" v-if="thisData">
				<!-- <u-read-more ref="uReadMore" :showHeight="200" closeText="查看更多" :toggle="true"> -->
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">出入库单号</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.code}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">出入库类型</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.operType_Name}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">状态</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.status | enums($enums.Bill_Status)}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">申请人</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.applyUserName}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">申请时间</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.createDate|ymd}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">验收人</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.confirmUserName}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">验收时间</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.confirmDate|ymd}}</text>
						</u-col>
					</u-row>
					<u-line class="marb-20"></u-line>
					<u-row gutter="0" class="marb-20">
						<u-col span="4" textAlign="center">
							<text class="label-name">出入库备注</text>
						</u-col>
						<u-col span="6">
							<text class="label-name">{{thisData.remark}}</text>
						</u-col>
					</u-row>
					
				<!-- </u-read-more> -->
			</view>
			<view v-else>
				<view class="topContent">
					<u-empty mode="data" text="暂无数据">
					</u-empty>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				thisID: null,
				thisData: {
				},
			}
		},
		onLoad(options) {
			let that = this;
			// #ifdef APP-NVUE
			const eventChannel = this.$scope.eventChannel; // 兼容APP-NVUE
			// #endif

			// #ifndef APP-NVUE
			const eventChannel = this.getOpenerEventChannel();
			// #endif
		},
		beforeDestroy() {

		},
		methods: {
			init(data) {
				this.thisData = data.billModel;
				return;
			},
		}
	}
</script>

<style scoped>
</style>